//接口参数所需要的数据类型
export interface loginForim{
    account:string,
    password:string
}
//成果的数据类型
export interface acltype{
    field:string,
    achReflect:string,
    iprReflect:string,
    achAscription:string,
    maturity:string,
    conMethod:string,
    current:number,
    limit:number
}
//老师id
export interface teacherId{
    id?:number
}
//注册接口数据类型
export interface registerForim{
    account:string,
    password:string,
    rePassword:string,
    email:string,
    phone:string,
    regCode:string
}
interface dataType{
    tokenValue?: string,
    message:string
}//登录接口返回的数据类型
export interface loginres{
    code:number,
    data:dataType
}

//定义服务器返回用户信息相关的数据类型
interface user{
    checkuser:{
        userId: number,
        avatar:string,
        username: string,
        password: string,
        desc: string[],
        roles: string[],
        buttons:string[],
        routes: string[],
        token: string,
    }
}
export interface userres{
    code : number
    data : user
}

